package bupt.xixi.learning.beans.factory.support;

import bupt.xixi.learning.beans.BeansException;
import bupt.xixi.learning.beans.factory.config.BeanDefinition;

public interface BeanDefinitionRegistry {
    void registerBeanDefinition(String beanName, BeanDefinition beanDefinition);

    BeanDefinition getBeanDefinition(String beanName) throws BeansException;

    boolean containsBeanDefinition(String beanName);

    String[] getBeanDefinitionName();
}
